﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LaunchMeNot.Core;
namespace LaunchMeNot.DAL
{
    public static class DALConfigurationManager
    {
        internal static string FilePath {
            get { return LaunchMeNotStore == null ? string.Empty : LaunchMeNotStore.FilePath; }
        }
        public static XMLStore LaunchMeNotStore { get; set; }

        public static void Configure(IDALConfiguration config)
        {
            LaunchMeNotStore = new XMLStore(config.FilePath);
        }
    }
    public interface IDALConfiguration
    {
        string FilePath { get; set; }
    }
}
